<div id="work_comment_<%= comment.id %>" class="work_comment">
	<div class="work_comment_title">
    	<%= link_to(comment.user.name, profile_for(comment.user))%>发表于：
    	<%= time_ago_in_words comment.created_at%>前&nbsp;&nbsp;
  	</div>
	<div class="work_comment_content">
		<%= comment.content%>
	</div>
  <% if comment.authorized?(@login_user)-%>
  	<span class="comment_delete">
  		<%= link_to_remote "删除", :url => work_work_comment_url(@work,comment), :method => :delete, :confirm => "确定删除吗?" %>
  	</span>
  <% end %>
</div>
